<?php
declare (strict_types = 1);

namespace app\validate;

use think\Validate;

class Items extends Validate
{
    protected $rule = [        
        'item_name' => 'unique:items|min:3',
         
    ];
    protected $message = [     
        'item_name.unique' => '对不起，用户名已被使用',
        'item_name.min'    => '对不起，用户名至少要三个字符',
        
    ];

    
}
